3.597 \(\int x^2 \left (a+b x^3\right )^p \, dx\)

Optimal. Leaf size=23 \[ \frac{\left (a+b x^3\right )^{p+1}}{3 b (p+1)} \]

[Out]

(a + b*x^3)^(1 + p)/(3*b*(1 + p))

_______________________________________________________________________________________

Rubi [A]  time = 0.0182122, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ \frac{\left (a+b x^3\right )^{p+1}}{3 b (p+1)} \]

Antiderivative was successfully verified.

[In]  Int[x^2*(a + b*x^3)^p,x]

[Out]

(a + b*x^3)^(1 + p)/(3*b*(1 + p))

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 2.59768, size = 15, normalized size = 0.65 \[ \frac{\left (a + b x^{3}\right )^{p + 1}}{3 b \left (p + 1\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**2*(b*x**3+a)**p,x)

[Out]

(a + b*x**3)**(p + 1)/(3*b*(p + 1))

_______________________________________________________________________________________

Mathematica [A]  time = 0.0178912, size = 22, normalized size = 0.96 \[ \frac{\left (a+b x^3\right )^{p+1}}{3 b p+3 b} \]

Antiderivative was successfully verified.

[In]  Integrate[x^2*(a + b*x^3)^p,x]

[Out]

(a + b*x^3)^(1 + p)/(3*b + 3*b*p)

_______________________________________________________________________________________

Maple [A]  time = 0.006, size = 22, normalized size = 1. \[{\frac{ \left ( b{x}^{3}+a \right ) ^{1+p}}{3\,b \left ( 1+p \right ) }} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^2*(b*x^3+a)^p,x)

[Out]

1/3*(b*x^3+a)^(1+p)/b/(1+p)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^3 + a)^p*x^2,x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.24264, size = 34, normalized size = 1.48 \[ \frac{{\left (b x^{3} + a\right )}{\left (b x^{3} + a\right )}^{p}}{3 \,{\left (b p + b\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^3 + a)^p*x^2,x, algorithm="fricas")

[Out]

1/3*(b*x^3 + a)*(b*x^3 + a)^p/(b*p + b)

_______________________________________________________________________________________

Sympy [A]  time = 5.87109, size = 134, normalized size = 5.83 \[ \begin{cases} \frac{x^{3}}{3 a} & \text{for}\: b = 0 \wedge p = -1 \\\frac{a^{p} x^{3}}{3} & \text{for}\: b = 0 \\\frac{\log{\left (- \sqrt [3]{-1} \sqrt [3]{a} \sqrt [3]{\frac{1}{b}} + x \right )}}{3 b} + \frac{\log{\left (4 \left (-1\right )^{\frac{2}{3}} a^{\frac{2}{3}} \left (\frac{1}{b}\right )^{\frac{2}{3}} + 4 \sqrt [3]{-1} \sqrt [3]{a} x \sqrt [3]{\frac{1}{b}} + 4 x^{2} \right )}}{3 b} & \text{for}\: p = -1 \\\frac{a \left (a + b x^{3}\right )^{p}}{3 b p + 3 b} + \frac{b x^{3} \left (a + b x^{3}\right )^{p}}{3 b p + 3 b} & \text{otherwise} \end{cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**2*(b*x**3+a)**p,x)

[Out]

Piecewise((x**3/(3*a), Eq(b, 0) & Eq(p, -1)), (a**p*x**3/3, Eq(b, 0)), (log(-(-1
)**(1/3)*a**(1/3)*(1/b)**(1/3) + x)/(3*b) + log(4*(-1)**(2/3)*a**(2/3)*(1/b)**(2
/3) + 4*(-1)**(1/3)*a**(1/3)*x*(1/b)**(1/3) + 4*x**2)/(3*b), Eq(p, -1)), (a*(a +
 b*x**3)**p/(3*b*p + 3*b) + b*x**3*(a + b*x**3)**p/(3*b*p + 3*b), True))

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.213426, size = 28, normalized size = 1.22 \[ \frac{{\left (b x^{3} + a\right )}^{p + 1}}{3 \, b{\left (p + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^3 + a)^p*x^2,x, algorithm="giac")

[Out]

1/3*(b*x^3 + a)^(p + 1)/(b*(p + 1))